package com.RyanRestaurant.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Food实体类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Food {

    //成员变量
    private Integer id; //主键
    private String title; //菜名
    private Double price; //价格
    private Double vip_price; //vip价格
    private String description; //描述
    private String photo; //图片
    private Integer del = 0; //1 删除  0未删除
    //多对一的关系
    private FoodType foodType; //菜系
}
